package com.sy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class LeaveMessageDetail {
    private Integer id;
    private String respondPerson;
    private String content;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date respondTime;
    private Integer leaveMessageId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRespondPerson() {
        return respondPerson;
    }

    public void setRespondPerson(String respondPerson) {
        this.respondPerson = respondPerson;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getRespondTime() {
        return respondTime;
    }

    public void setRespondTime(Date respondTime) {
        this.respondTime = respondTime;
    }

    public Integer getLeaveMessageId() {
        return leaveMessageId;
    }

    public void setLeaveMessageId(Integer leaveMessageId) {
        this.leaveMessageId = leaveMessageId;
    }

    @Override
    public String toString() {
        return "LeaveMessageDetail{" +
                "id=" + id +
                ", respondPerson='" + respondPerson + '\'' +
                ", content='" + content + '\'' +
                ", respondTime=" + respondTime +
                ", leaveMessageId=" + leaveMessageId +
                '}';
    }
}
